﻿using System;
using System.Linq;
using UnityEngine;
using UnityEngine.Audio;

// Token: 0x02000366 RID: 870
public class SoundManager : MonoBehaviour, IListener
{
	// Token: 0x0600168B RID: 5771 RVA: 0x00091FB4 File Offset: 0x000901B4
	public void OnNotify(IEvent e)
	{
		StepEvent stepEvent = (StepEvent)e;
		if (!stepEvent.entity.isGiantess)
		{
			return;
		}
		AudioSource component = stepEvent.entity.GetComponent<AudioSource>();
		float scale = stepEvent.entity.Scale;
		component.minDistance = 200f * scale * stepEvent.magnitude;
		component.maxDistance = 10000f * scale * stepEvent.magnitude;
		float num;
		if (this.cam.entity != null && this.cam.entity.isGiantess)
		{
			num = 1.6f;
		}
		else
		{
			num = GameController.playerInstance.Height;
		}
		float f = stepEvent.entity.Height / num * stepEvent.magnitude;
		float num2 = Mathf.Log10(f);
		float num3 = 1.68f;
		float num4 = 6f;
		AudioClip randomClip;
		if (num2 > num3)
		{
			randomClip = SoundManager.GetRandomClip(this.gigaSteps);
		}
		else
		{
			randomClip = SoundManager.GetRandomClip(this.giantSteps);
		}
		if (num2 < 0f)
		{
			component.volume = 0f;
		}
		else if (num2 < num3)
		{
			component.volume = num2 / num3;
		}
		else
		{
			component.volume = 1f;
		}
		float minPitch = 0.6f;
		float num5 = 0.3f;
		float num6;
		if (num2 < 0f)
		{
			num6 = Mathf.Clamp(1f + (1f - num2), 1f, 3f);
		}
		else if (num2 < num3)
		{
			num6 = this.LinearPitchFall(minPitch, 0f, num3, num2);
		}
		else if (num2 < num4)
		{
			num6 = this.LinearPitchFall(num5, num3, num4, num2);
		}
		else
		{
			num6 = num5;
		}
		float num7 = 0.2f * num6;
		component.pitch = num6 + UnityEngine.Random.Range(-num7, num7);
		component.PlayOneShot(randomClip);
	}

	// Token: 0x0600168C RID: 5772 RVA: 0x0009219F File Offset: 0x0009039F
	public float LinearPitchFall(float minPitch, float floor, float ceil, float scale)
	{
		return minPitch + (1f - minPitch) * (1f - (scale - floor) / (ceil - floor));
	}

	// Token: 0x0600168D RID: 5773 RVA: 0x000921BC File Offset: 0x000903BC
	private void Awake()
	{
		SoundManager.Mixer = (Resources.Load("Sound/Mixer") as AudioMixer);
		SoundManager.mg_background = SoundManager.Mixer.FindMatchingGroups("Background")[0];
		SoundManager.mg_destruction = SoundManager.Mixer.FindMatchingGroups("Destruction")[0];
		SoundManager.mg_effects = SoundManager.Mixer.FindMatchingGroups("Effects")[0];
		SoundManager.mg_macro = SoundManager.Mixer.FindMatchingGroups("Macro")[0];
		SoundManager.mg_micro = SoundManager.Mixer.FindMatchingGroups("Micro")[0];
		SoundManager.mg_windA = SoundManager.Mixer.FindMatchingGroups("WindA")[0];
		SoundManager.mg_windG = SoundManager.Mixer.FindMatchingGroups("WindG")[0];
		SoundManager.mg_voice = SoundManager.Mixer.FindMatchingGroups("Voice")[0];
		SoundManager.mg_raygun = SoundManager.Mixer.FindMatchingGroups("Raygun")[0];
		SoundManager.mg_aiGuns = SoundManager.Mixer.FindMatchingGroups("AIGuns")[0];
		this.natureSound = Resources.Load<AudioClip>("Sound/nature2");
		this.seaSound = Resources.Load<AudioClip>("Sound/sea2");
		this.windSound = Resources.Load<AudioClip>("Sound/storm");
		this.flySound = Resources.Load<AudioClip>("Sound/Player/Fly3");
		this.gigaSteps = Resources.LoadAll<AudioClip>("Sound/Footstep/Giga/");
		this.destructionSounds = Resources.LoadAll<AudioClip>("Sound/Destruction/");
		this.citySounds = Resources.LoadAll<AudioClip>("Sound/City");
		this.playerSteps = Resources.LoadAll<AudioClip>("Sound/Footstep/Player");
		this.giantSteps = Resources.LoadAll<AudioClip>("Sound/Footstep/Giant");
		this.crushedSound = Resources.LoadAll<AudioClip>("Sound/Crushed");
		this.playerRaygunArmingSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_CLICK_2");
		this.playerRaygunDisarmingSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_CLICK_1");
		this.playerRaygunModeSwitchSound = Resources.Load<AudioClip>("Sound/Raygun/GUN_MODE_CHANGE");
		this.playerRaygunUtilitySound = Resources.Load<AudioClip>("Sound/Raygun/DIAL_CLICK_2");
		this.playerRaygunPolaritySound = Resources.Load<AudioClip>("Sound/Raygun/DIAL_CLICK_1");
		this.playerRaygunProjFireSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_SHOT_1");
		this.playerRaygunProjImpactSounds = new AudioClip[]
		{
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_1"),
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_2"),
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_3")
		};
		this.playerRaygunLaserSustainSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_SUSTAIN_1");
		this.playerRaygunSonicFireSound = Resources.Load<AudioClip>("Sound/Raygun/SONIC_RING_FIRE");
		this.playerRaygunSonicSustainSound = Resources.Load<AudioClip>("Sound/Raygun/SONIC_RING_LOOP");
		this.npcRaygunProjFireSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_SHOT_1");
		this.npcRaygunProjImpactSounds = new AudioClip[]
		{
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_1"),
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_2"),
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_3")
		};
		this.npcSmgProjFireSound = Resources.Load<AudioClip>("Sound/SMG/SINGLE_SHOT");
		if (!SoundManager.This)
		{
			SoundManager.This = this;
		}
		this.tinyAudioSource = new GameObject("Audio Source").AddComponent<AudioSource>();
		this.tinyAudioSource.spatialBlend = 1f;
		this.tinyAudioSource.dopplerLevel = 0f;
		this.tinyAudioSource.minDistance = 10f;
		this.tinyAudioSource.maxDistance = 100f;
		EventManager.Register(this, EventCode.OnStep);
		this.cam = Camera.main.GetComponent<PlayerCamera>();
	}

	// Token: 0x0600168E RID: 5774 RVA: 0x000924F8 File Offset: 0x000906F8
	private void Start()
	{
		SoundManager.Mixer.SetFloat("Master", GlobalPreferences.VolumeMaster.value);
		SoundManager.Mixer.SetFloat("Background", GlobalPreferences.VolumeBackground.value);
		SoundManager.Mixer.SetFloat("Destruction", GlobalPreferences.VolumeDestruction.value);
		SoundManager.Mixer.SetFloat("Macro", GlobalPreferences.VolumeMacro.value);
		SoundManager.Mixer.SetFloat("Micro", GlobalPreferences.VolumeMicro.value);
		SoundManager.Mixer.SetFloat("Voice", GlobalPreferences.VolumeVoice.value);
		SoundManager.Mixer.SetFloat("WindA", GlobalPreferences.VolumeWindA.value);
		SoundManager.Mixer.SetFloat("WindG", GlobalPreferences.VolumeWindG.value);
		SoundManager.Mixer.SetFloat("Raygun", GlobalPreferences.VolumeRaygun.value);
		SoundManager.Mixer.SetFloat("AIGuns", GlobalPreferences.VolumeAIGuns.value);
	}

	// Token: 0x0600168F RID: 5775 RVA: 0x0009260C File Offset: 0x0009080C
	public void SetPaused(bool paused)
	{
		if (paused)
		{
			SoundManager.Mixer.SetFloat("WindA", -80f);
			SoundManager.Mixer.SetFloat("WindG", -80f);
		}
		else
		{
			SoundManager.Mixer.SetFloat("WindA", GlobalPreferences.VolumeWindA.value);
			SoundManager.Mixer.SetFloat("WindG", GlobalPreferences.VolumeWindG.value);
		}
	}

	// Token: 0x06001690 RID: 5776 RVA: 0x00092682 File Offset: 0x00090882
	public static void SetSoundClip(AudioSource source, AudioClip clip)
	{
		if (source.clip != clip)
		{
			source.clip = clip;
			source.Play();
		}
		if (!source.isPlaying)
		{
			source.Play();
		}
	}

	// Token: 0x06001691 RID: 5777 RVA: 0x000926B4 File Offset: 0x000908B4
	public AudioClip GetDestructionSound()
	{
		int max = this.destructionSounds.Length;
		return this.destructionSounds[UnityEngine.Random.Range(0, max)];
	}

	// Token: 0x06001692 RID: 5778 RVA: 0x000926D8 File Offset: 0x000908D8
	public AudioClip GetCitySoundPeaceful()
	{
		int num = this.citySounds.Length;
		return this.citySounds.Single((AudioClip x) => x.name == "CITY_PEACEFUL");
	}

	// Token: 0x06001693 RID: 5779 RVA: 0x00092716 File Offset: 0x00090916
	public AudioClip GetPlayerFootstepSound()
	{
		this.lastStep++;
		if (this.lastStep >= this.playerSteps.Length)
		{
			this.lastStep = 0;
		}
		return this.playerSteps[this.lastStep];
	}

	// Token: 0x06001694 RID: 5780 RVA: 0x0009274D File Offset: 0x0009094D
	public AudioClip GetPlayerRaygunProjectileImpactSound()
	{
		return this.playerRaygunProjImpactSounds[UnityEngine.Random.Range(0, this.playerRaygunProjImpactSounds.Length)];
	}

	// Token: 0x06001695 RID: 5781 RVA: 0x00092764 File Offset: 0x00090964
	public AudioClip GetNpcRaygunProjectileImpactSound()
	{
		return this.npcRaygunProjImpactSounds[UnityEngine.Random.Range(0, this.npcRaygunProjImpactSounds.Length)];
	}

	// Token: 0x06001696 RID: 5782 RVA: 0x0009277B File Offset: 0x0009097B
	public AudioClip GetNpcSmgProjectileImpactSound()
	{
		return this.npcSmgProjImpactSound;
	}

	// Token: 0x06001697 RID: 5783 RVA: 0x00092784 File Offset: 0x00090984
	public void PlayCrushed(Vector3 position, float size)
	{
		this.tinyAudioSource.minDistance = 1f * size;
		this.tinyAudioSource.maxDistance = 20f * size;
		this.tinyAudioSource.transform.position = position;
		this.tinyAudioSource.outputAudioMixerGroup = SoundManager.mg_effects;
		int max = this.crushedSound.Length;
		this.tinyAudioSource.PlayOneShot(this.crushedSound[UnityEngine.Random.Range(0, max)]);
	}

	// Token: 0x06001698 RID: 5784 RVA: 0x00002973 File Offset: 0x00000B73
	public void RegisterAmbientSound(AudioSource source, int priority)
	{
	}

	// Token: 0x06001699 RID: 5785 RVA: 0x000927F8 File Offset: 0x000909F8
	public static void SetUpAmbientAudioSource(AudioSource source)
	{
		source.loop = true;
		source.dopplerLevel = 0f;
	}

	// Token: 0x0600169A RID: 5786 RVA: 0x0009280C File Offset: 0x00090A0C
	public static AudioClip GetRandomClip(AudioClip[] clips)
	{
		if (clips.Length > 0)
		{
			return clips[UnityEngine.Random.Range(0, clips.Length)];
		}
		return null;
	}

	// Token: 0x0600169B RID: 5787 RVA: 0x00092824 File Offset: 0x00090A24
	public void SetPlayerRaygunArmingSound(string clip)
	{
		this.playerRaygunArmingSound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x0600169C RID: 5788 RVA: 0x0009283D File Offset: 0x00090A3D
	public void ResetPlayerRaygunArmingSound()
	{
		this.playerRaygunArmingSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_CLICK_2");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x0600169D RID: 5789 RVA: 0x00092855 File Offset: 0x00090A55
	public void SetPlayerRaygunDisarmingSound(string clip)
	{
		this.playerRaygunDisarmingSound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x0600169E RID: 5790 RVA: 0x0009286E File Offset: 0x00090A6E
	public void ResetPlayerRaygunDisarmingSound()
	{
		this.playerRaygunDisarmingSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_CLICK_1");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x0600169F RID: 5791 RVA: 0x00092886 File Offset: 0x00090A86
	public void SetPlayerRaygunModeSwitchSound(string clip)
	{
		this.playerRaygunModeSwitchSound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A0 RID: 5792 RVA: 0x0009289F File Offset: 0x00090A9F
	public void ResetPlayerRaygunModeSwitchSound()
	{
		this.playerRaygunModeSwitchSound = Resources.Load<AudioClip>("Sound/Raygun/GUN_MODE_CHANGE");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A1 RID: 5793 RVA: 0x000928B7 File Offset: 0x00090AB7
	public void SetPlayerRaygunUtilitySound(string clip)
	{
		this.playerRaygunUtilitySound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A2 RID: 5794 RVA: 0x000928D0 File Offset: 0x00090AD0
	public void ResetPlayerRaygunUtilitySound()
	{
		this.playerRaygunUtilitySound = Resources.Load<AudioClip>("Sound/Raygun/DIAL_CLICK_2");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A3 RID: 5795 RVA: 0x000928E8 File Offset: 0x00090AE8
	public void SetPlayerRaygunPolaritySound(string clip)
	{
		this.playerRaygunPolaritySound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A4 RID: 5796 RVA: 0x00092901 File Offset: 0x00090B01
	public void ResetPlayerRaygunPolaritySound()
	{
		this.playerRaygunPolaritySound = Resources.Load<AudioClip>("Sound/Raygun/DIAL_CLICK_1");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A5 RID: 5797 RVA: 0x00092919 File Offset: 0x00090B19
	public void SetPlayerRaygunProjFireSound(string clip)
	{
		this.playerRaygunProjFireSound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A6 RID: 5798 RVA: 0x00092932 File Offset: 0x00090B32
	public void ResetPlayerRaygunProjFireSound()
	{
		this.playerRaygunProjFireSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_SHOT_1");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A7 RID: 5799 RVA: 0x0009294A File Offset: 0x00090B4A
	public void SetPlayerRaygunProjImpactSound(string clip)
	{
		this.playerRaygunProjImpactSounds = new AudioClip[]
		{
			IOManager.Instance.LoadAudioClip(clip)
		};
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A8 RID: 5800 RVA: 0x0009296C File Offset: 0x00090B6C
	public void ResetPlayerRaygunProjImpactSounds()
	{
		this.playerRaygunProjImpactSounds = new AudioClip[]
		{
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_1"),
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_2"),
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_3")
		};
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016A9 RID: 5801 RVA: 0x000929A7 File Offset: 0x00090BA7
	public void SetPlayerRaygunLaserSustainSound(string clip)
	{
		this.playerRaygunLaserSustainSound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016AA RID: 5802 RVA: 0x000929C0 File Offset: 0x00090BC0
	public void ResetPlayerRaygunLaserSustainSound()
	{
		this.playerRaygunLaserSustainSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_SUSTAIN_1");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016AB RID: 5803 RVA: 0x000929D8 File Offset: 0x00090BD8
	public void SetPlayerRaygunSonicFireSound(string clip)
	{
		this.playerRaygunSonicFireSound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016AC RID: 5804 RVA: 0x000929F1 File Offset: 0x00090BF1
	public void ResetPlayerRaygunSonicFireSound()
	{
		this.playerRaygunSonicFireSound = Resources.Load<AudioClip>("Sound/Raygun/SONIC_RING_FIRE");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016AD RID: 5805 RVA: 0x00092A09 File Offset: 0x00090C09
	public void SetPlayerRaygunSonicSustainSound(string clip)
	{
		this.playerRaygunSonicSustainSound = IOManager.Instance.LoadAudioClip(clip);
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016AE RID: 5806 RVA: 0x00092A22 File Offset: 0x00090C22
	public void ResetPlayerRaygunSonicSustainSound()
	{
		this.playerRaygunSonicSustainSound = Resources.Load<AudioClip>("Sound/Raygun/SONIC_RING_LOOP");
		this.UpdatePlayerRaygunSounds();
	}

	// Token: 0x060016AF RID: 5807 RVA: 0x00092A3A File Offset: 0x00090C3A
	public void SetNpcRaygunProjFireSound(string clip)
	{
		this.npcRaygunProjFireSound = IOManager.Instance.LoadAudioClip(clip);
	}

	// Token: 0x060016B0 RID: 5808 RVA: 0x00092A4D File Offset: 0x00090C4D
	public void ResetNpcRaygunProjFireSound()
	{
		this.npcRaygunProjFireSound = Resources.Load<AudioClip>("Sound/Raygun/LASER_SHOT_1");
	}

	// Token: 0x060016B1 RID: 5809 RVA: 0x00092A5F File Offset: 0x00090C5F
	public void SetNpcRaygunProjImpactSound(string clip)
	{
		this.npcRaygunProjImpactSounds = new AudioClip[]
		{
			IOManager.Instance.LoadAudioClip(clip)
		};
	}

	// Token: 0x060016B2 RID: 5810 RVA: 0x00092A7B File Offset: 0x00090C7B
	public void ResetNpcRaygunProjImpactSounds()
	{
		this.npcRaygunProjImpactSounds = new AudioClip[]
		{
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_1"),
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_2"),
			Resources.Load<AudioClip>("Sound/Raygun/LASER_IMPACT_3")
		};
	}

	// Token: 0x060016B3 RID: 5811 RVA: 0x00092AB0 File Offset: 0x00090CB0
	public void SetNpcSmgProjFireSound(string clip)
	{
		this.npcSmgProjFireSound = IOManager.Instance.LoadAudioClip(clip);
	}

	// Token: 0x060016B4 RID: 5812 RVA: 0x00092AC3 File Offset: 0x00090CC3
	public void ResetNpcSmgProjFireSound()
	{
		this.npcSmgProjFireSound = Resources.Load<AudioClip>("Sound/SMG/SINGLE_SHOT");
	}

	// Token: 0x060016B5 RID: 5813 RVA: 0x00092AD5 File Offset: 0x00090CD5
	public void SetNpcSmgProjImpactSound(string clip)
	{
		this.npcSmgProjImpactSound = IOManager.Instance.LoadAudioClip(clip);
	}

	// Token: 0x060016B6 RID: 5814 RVA: 0x00092AE8 File Offset: 0x00090CE8
	public void ResetNpcSmgProjImpactSound()
	{
		this.npcSmgProjImpactSound = null;
	}

	// Token: 0x060016B7 RID: 5815 RVA: 0x00092AF1 File Offset: 0x00090CF1
	private void UpdatePlayerRaygunSounds()
	{
		if (PlayerRaygun.instance != null)
		{
			PlayerRaygun.instance.UpdateSounds();
		}
	}

	// Token: 0x04001929 RID: 6441
	private PlayerCamera cam;

	// Token: 0x0400192A RID: 6442
	public static float ambientVolume = 0.5f;

	// Token: 0x0400192B RID: 6443
	public static float vehiclesVolume = 0.5f;

	// Token: 0x0400192C RID: 6444
	public static float windVolume = 1f;

	// Token: 0x0400192D RID: 6445
	public static SoundManager This;

	// Token: 0x0400192E RID: 6446
	public AudioClip[] giantSteps;

	// Token: 0x0400192F RID: 6447
	private AudioClip[] gigaSteps;

	// Token: 0x04001930 RID: 6448
	public AudioClip[] playerSteps;

	// Token: 0x04001931 RID: 6449
	public AudioClip[] crushedSound;

	// Token: 0x04001932 RID: 6450
	public AudioClip flySound;

	// Token: 0x04001933 RID: 6451
	public AudioClip[] destructionSounds;

	// Token: 0x04001934 RID: 6452
	public AudioClip[] citySounds;

	// Token: 0x04001935 RID: 6453
	public AudioClip natureSound;

	// Token: 0x04001936 RID: 6454
	public AudioClip seaSound;

	// Token: 0x04001937 RID: 6455
	public AudioClip windSound;

	// Token: 0x04001938 RID: 6456
	private AudioSource tinyAudioSource;

	// Token: 0x04001939 RID: 6457
	public float ambientLevel = 1f;

	// Token: 0x0400193A RID: 6458
	public float windLevel = 1f;

	// Token: 0x0400193B RID: 6459
	public AudioClip playerRaygunArmingSound;

	// Token: 0x0400193C RID: 6460
	public AudioClip playerRaygunDisarmingSound;

	// Token: 0x0400193D RID: 6461
	public AudioClip playerRaygunModeSwitchSound;

	// Token: 0x0400193E RID: 6462
	public AudioClip playerRaygunUtilitySound;

	// Token: 0x0400193F RID: 6463
	public AudioClip playerRaygunPolaritySound;

	// Token: 0x04001940 RID: 6464
	public AudioClip playerRaygunProjFireSound;

	// Token: 0x04001941 RID: 6465
	public AudioClip[] playerRaygunProjImpactSounds;

	// Token: 0x04001942 RID: 6466
	public AudioClip playerRaygunLaserSustainSound;

	// Token: 0x04001943 RID: 6467
	public AudioClip playerRaygunSonicFireSound;

	// Token: 0x04001944 RID: 6468
	public AudioClip playerRaygunSonicSustainSound;

	// Token: 0x04001945 RID: 6469
	public AudioClip npcRaygunProjFireSound;

	// Token: 0x04001946 RID: 6470
	public AudioClip[] npcRaygunProjImpactSounds;

	// Token: 0x04001947 RID: 6471
	public AudioClip npcSmgProjFireSound;

	// Token: 0x04001948 RID: 6472
	public AudioClip npcSmgProjImpactSound;

	// Token: 0x04001949 RID: 6473
	public static AudioMixer Mixer;

	// Token: 0x0400194A RID: 6474
	public static AudioMixerGroup mg_background;

	// Token: 0x0400194B RID: 6475
	public static AudioMixerGroup mg_destruction;

	// Token: 0x0400194C RID: 6476
	public static AudioMixerGroup mg_effects;

	// Token: 0x0400194D RID: 6477
	public static AudioMixerGroup mg_macro;

	// Token: 0x0400194E RID: 6478
	public static AudioMixerGroup mg_micro;

	// Token: 0x0400194F RID: 6479
	public static AudioMixerGroup mg_voice;

	// Token: 0x04001950 RID: 6480
	public static AudioMixerGroup mg_windA;

	// Token: 0x04001951 RID: 6481
	public static AudioMixerGroup mg_windG;

	// Token: 0x04001952 RID: 6482
	public static AudioMixerGroup mg_raygun;

	// Token: 0x04001953 RID: 6483
	public static AudioMixerGroup mg_aiGuns;

	// Token: 0x04001954 RID: 6484
	private int lastStep;

	// Token: 0x02000367 RID: 871
	public struct AmbientSource
	{
		// Token: 0x04001956 RID: 6486
		public AudioSource source;

		// Token: 0x04001957 RID: 6487
		public float priority;
	}
}
